package com.software.car;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description
 * @Author 魔法はまだ解けない
 * @Date 2021/1/17
 */
@SpringBootApplication
@RestController
@MapperScan("com.software.car.mapper")
public class Application {
    @GetMapping("/test")
    public String test(){
        return "连接成功";
    }
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
